home *** CD-ROM | disk | FTP | other *** search
- SEARCH.COM is from PC Magazine May 14, 1985 page 243
- by Steve Holzner (c) 1985.
- Original Name LOCATE.COM.
-
- This program is to allow the user of a hard disk to search for an
- ASCII string throughout a disk, across any or all subdirectories.
- It even strips the 8th bit so it works right with WordStar files.
- The DOS FIND command has a similar mission, but can only search a
- specified file. Some commercial programs will search on a
- specified directory, but SEARCH will search every path that you
- give it in the order given in a file named PATH.DAT, which must
- be in the ROOT directory.
-
- Since sub-directories are involved, DOS 2.x or higher is
- required. SEARCH has been successfully tested with MS-DOS 2.11
- on a Compaq Plus.
-
- Command Syntax: SEARCH text to search for<cr>
-
- A sample PATH.DAT file:
-
- \WS
- \SECTION1
- \SECTION1\A
- \SECTION1\B
- \WP
- \MM
- A:
-
- PATH.DAT IS LIMITED TO 300 BYTES MAXIMUM.
- Note that you can even have SEARCH check more than one disk drive
- if you want. The root directory of the default drive is searched
- automatically. If you wish to search a root directory of another
- drive, do NOT use `a:\` in PATH.DAT, or the program will hang. A
- Ctrl-Break will put you back in control. To search a root
- directory, use the drive letter and colon only.
-
- SEARCH permits you to enter a search string of up to 20
- characters, and returns a total of 40 characters to show context.
- It IS case sensitive, so it only returns EXACT matches. It does
- not pause when the screen fills, so if you think there are
- multiple matches, you may want to use the DOS MORE filter, or
- turn on the printer echo for a hard copy.
-
- I renamed the program from the original LOCATE.COM because it
- conflicts with a Public Domain program that finds filenames
- across sub-directories.
-
- Jim Nelden
- Normal, Illinois
- conflicts with a Public Domain program that finds